{% extends 'BootStrapBase.html' %}

{% block sidebar %}
  <div class="sidebar">
    <div style="padding-top: 20px;">
    </div>
  </div>
{% endblock %}
{% block content %}
<form action="register/" method="post" class="form-horizontal">
	<fieldset>
		<div style="display:none">
			<input type="hidden" name="csrfmiddlewaretoken" value="1JVqOrXgfkVMwGX0X56RUz4I8L3PsvNM">
		</div>
		
		<div id="div_id_username" class="control-group required">
			<label class="control-label" for="id_username">用户名</label>
			<div class="controls">
				<input id="id_username" type="text" class="required" name="username" maxlength="30">
			</div>
		</div>
		
		<div id="div_id_email" class="control-group required">
			<label class="control-label" for="id_email">电子邮件地址</label>
			<div class="controls">
				<input id="id_email" type="text" class="required" name="email" maxlength="75">
			</div>
		</div>
		
		<div id="div_id_password1" class="control-group required">
			<label class="control-label" for="id_password1">设置密码</label>
			<div class="controls">
				<input id="id_password1" type="password" class="required" name="password1">
			</div>
		</div>
		<div id="div_id_password2" class="control-group required">
			<label class="control-label" for="id_password2">重复密码</label>
			<div class="controls">
				<input id="id_password2" type="password" class="required" name="password2">  
			</div>
		</div>

		<div class="form-actions">
			<p>
				<input type="submit" value="注册" class="btn btn-primary">
			</p>
		</div>
	</fieldset>
</form>
{% endblock %}